server.port: ${conf['kibana.http.listeners.port']}

server.host: 0.0.0.0

<#if dependencies.ELASTICSEARCH??>
    <#assign elasticsearch=dependencies.ELASTICSEARCH esNodes=[]>
    <#list elasticsearch.serviceRoles['ELASTICSEARCH_NODE'] as role>
        <#assign esNodes += ["'http://"+role.hostname + ":" + elasticsearch.conf["elasticsearch.http.listeners.port"] + "'"]>
    </#list>
    <#if elasticsearch.conf["xpack.security.enabled"] == "true">
        <#assign espass = elasticsearch.conf["es_password"]>
elasticsearch.username: "kibana"
elasticsearch.password: "${espass}"
    </#if>
</#if>

elasticsearch.hosts: [${esNodes?join(",")}]

server.name: "elasticsearch"

kibana.index: ".kibana"

i18n.locale: "zh-CN"
